<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/add.css}">
</head>
<body>

<div class="content">
<div class="nav">
    <div class="nav-head">
        <div class="head" th:style="'background-image: url(/img/坠.png)'"></div>
        <div class="text"><span><a class="name" th:text="${session.cc}"></a></span></div>
    </div>
    <div class="nav-list">
        <div class="nav-tit" id="personal">
            <a th:href="@{/msg}" target="main">
                <img th:src="@{/img/person.png}" style="height: 30px" alt="">
                <span>个人中心</span>
            </a>
        </div>
        <div class="nav-tit">
            <a th:href="@{/kechen}" target="main">
                <img th:src="@{/img/cource.png}" alt="">
                <span>学生课程信息</span>
            </a>
        </div>
        <div class="nav-tit">
            <a th:href="@{/gra}" target="main">
                <img th:src="@{/img/grade.png}" alt="">
                <span>学生成绩信息</span>
            </a>
        </div>
    </div>
</div>
    <div class="part2">
        <div class="top">
            <div class="left">
                <h1>学生成绩管理系统</h1>
            </div>
            <div class="right">
                <span><a id="zhuxiao" th:href="@{/exit}">注销</a></span>
            </div>
        </div>
        <div class="geren">
            <div class="msg-content">
            </div>
            <div class="msg-text">
                <div id="ml"><a>修改</a></div>
            </div>
            <form class="msg-bottom" method="post" th:action="@{/update}">
                <div class="mt">
                    <label>学号:</label>
                    <input type="text" class="in" name="sid" th:value="${mss.getSid()}"> <input type="hidden" name="ID" th:value="${mss.getID()}">
                </div>
                <div class="mt">
                    <label>学生姓名:</label>
                    <input type="text" class="in3" name="name" th:value="${mss.getName()}">
                </div>
                <div class="mt">
                    <label>课程编号:</label>
                    <input type="text" class="in3" name="courceID" th:value="${mss.getCourceID()}">
                </div>
                <div class="mt">
                    <label>课程名称:</label>
                    <input type="text" class="in3" name="cource" th:value="${mss.getCource()}">
                </div>
                <div class="mt">
                    <label>班级:</label>
                    <input type="text" class="in" name="classname" th:value="${mss.getClassname()}">
                </div>
                <div class="mt">
                    <label>学生成绩:</label>
                    <input type="text" class="in3" name="grade" th:value="${mss.getGrade()}">
                </div>
                <div class="mt">
                    <label>辅导老师:</label>
                    <input type="text" class="in3" name="teachername" th:value="${mss.getTeachername()}">
                    <button class="but">添加</button>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
</html>